﻿using Digitalmes.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Digitalmes.Services
{
    public interface IDriver
    {

       

        DriverStatus Status { get; }

        Task<ServiceResponse> ConnectAsync(DriverParameter para);
        Task<ServiceResponse> ReadValueAsync(string address);
        Task<ServiceResponse> WriteValueAsync(string address, object val);
    }
}
